package com.dz.product.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * <p>
 * 商品基础表
 * </p>
 *
 * @author star
 * @since 2017-06-22
 */
@TableName("t_product")
@JsonInclude(Include.NON_NULL) 
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableId("fid")
	private Long id;
    /**
     * 商品名称
     */
	@TableField("fname")
	private String name;
    /**
     * 商品logo
     */
	@TableField("flogo")
	private String logo;
    /**
     * 商品分类id
     */
	@TableField("fcategoryid")
	private Long categoryid;
    /**
     * 商品分类名称
     */
	@TableField("fcategorydesc")
	private String categorydesc;
    /**
     * 所属机构id
     */
	@TableField("fgroupid")
	private Long groupid;
    /**
     * 所属机构
     */
	@TableField("fgroupdesc")
	private String groupdesc;
    /**
     * 抵押方式id
     */
	@TableField("fmortgageid")
	private Long mortgageid;
    /**
     * 抵押方式
     */
	@TableField("fmortgagedesc")
	private String mortgagedesc;
    /**
     * 还款方式id
     */
	@TableField("frepaymentid")
	private Long repaymentid;
    /**
     * 还款方式
     */
	@TableField("frepaymentdesc")
	private String repaymentdesc;
    /**
     * 月利率%
     */
	@TableField("fbeginRate")
	private BigDecimal beginRate;
    /**
     * 月利率%
     */
	@TableField("fendRate")
	private BigDecimal endRate;
    /**
     * 一次性服务费比列%
     */
	@TableField("fserviceChargeRate")
	private BigDecimal serviceChargeRate;
    /**
     * 一次性服务费
     */
	@TableField("fserviceCharge")
	private BigDecimal serviceCharge;
    /**
     * 放款时间
     */
	@TableField("flendingtime")
	private Integer lendingtime;
    /**
     * 提前还款条件
     */
	@TableField("fterms")
	private String terms;
    /**
     * 所需材料
     */
	@TableField("fmaterial")
	private String material;
    /**
     * 贷款起始额度（单位：元）
     */
	@TableField("fbeginAmount")
	private BigDecimal beginAmount;
    /**
     * 贷款最大额度（单位：元）
     */
	@TableField("fendAmount")
	private BigDecimal endAmount;
    /**
     * 贷款起始期限（单位：天）
     */
	@TableField("fbeginTerm")
	private Integer beginTerm;
    /**
     * 贷款最大期限（单位：天）
     */
	@TableField("fendTerm")
	private Integer endTerm;
    /**
     * 返点比列%
     */
	@TableField("fbeginRebate")
	private BigDecimal beginRebate;
    /**
     * 返点比列%
     */
	@TableField("fendRebate")
	private BigDecimal endRebate;
    /**
     * 返点
     */
	@TableField("frebate")
	private BigDecimal rebate;
    /**
     * 所属国家
     */
	@TableField("fcountry")
	private String country;
    /**
     * 所属省份
     */
	@TableField("fprovince")
	private String province;
    /**
     * 所属城市
     */
	@TableField("fcity")
	private String city;
    /**
     * 贷款网点
     */
	@TableField("fbranch")
	private String branch;
    /**
     * 网点地址
     */
	@TableField("faddress")
	private String address;
    /**
     * 联系人
     */
	@TableField("fcontact")
	private String contact;
    /**
     * 联系方式
     */
	@TableField("fmobile")
	private String mobile;
    /**
     * 是否删除
     */
	@TableField("fisdeleted")
	private Integer isdeleted;
    /**
     * 备注
     */
	@TableField("fremark")
	private String remark;
    /**
     * 创建时间
     */
	@TableField("fcreateDate")
	private Date createDate;
    /**
     * 修改时间
     */
	@TableField("fupdateDate")
	private Date updateDate;
    /**
     * 创建人
     */
	@TableField("fcreateBy")
	private String createBy;
    /**
     * 修改人
     */
	@TableField("fupdateBy")
	private String updateBy;
    /**
     * text_field1
     */
	@TableField("text_field1")
	private String textField1;
    /**
     * text_field2
     */
	@TableField("text_field2")
	private String textField2;
    /**
     * text_field3
     */
	@TableField("text_field3")
	private String textField3;
    /**
     * text_field4
     */
	@TableField("text_field4")
	private String textField4;
    /**
     * text_field5
     */
	@TableField("text_field5")
	private String textField5;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public Long getCategoryid() {
		return categoryid;
	}

	public void setCategoryid(Long categoryid) {
		this.categoryid = categoryid;
	}

	public String getCategorydesc() {
		return categorydesc;
	}

	public void setCategorydesc(String categorydesc) {
		this.categorydesc = categorydesc;
	}

	public Long getGroupid() {
		return groupid;
	}

	public void setGroupid(Long groupid) {
		this.groupid = groupid;
	}

	public String getGroupdesc() {
		return groupdesc;
	}

	public void setGroupdesc(String groupdesc) {
		this.groupdesc = groupdesc;
	}

	public Long getMortgageid() {
		return mortgageid;
	}

	public void setMortgageid(Long mortgageid) {
		this.mortgageid = mortgageid;
	}

	public String getMortgagedesc() {
		return mortgagedesc;
	}

	public void setMortgagedesc(String mortgagedesc) {
		this.mortgagedesc = mortgagedesc;
	}

	public Long getRepaymentid() {
		return repaymentid;
	}

	public void setRepaymentid(Long repaymentid) {
		this.repaymentid = repaymentid;
	}

	public String getRepaymentdesc() {
		return repaymentdesc;
	}

	public void setRepaymentdesc(String repaymentdesc) {
		this.repaymentdesc = repaymentdesc;
	}

	public BigDecimal getBeginRate() {
		return beginRate;
	}

	public void setBeginRate(BigDecimal beginRate) {
		this.beginRate = beginRate;
	}

	public BigDecimal getEndRate() {
		return endRate;
	}

	public void setEndRate(BigDecimal endRate) {
		this.endRate = endRate;
	}

	public BigDecimal getServiceChargeRate() {
		return serviceChargeRate;
	}

	public void setServiceChargeRate(BigDecimal serviceChargeRate) {
		this.serviceChargeRate = serviceChargeRate;
	}

	public BigDecimal getServiceCharge() {
		return serviceCharge;
	}

	public void setServiceCharge(BigDecimal serviceCharge) {
		this.serviceCharge = serviceCharge;
	}

	public Integer getLendingtime() {
		return lendingtime;
	}

	public void setLendingtime(Integer lendingtime) {
		this.lendingtime = lendingtime;
	}

	public String getTerms() {
		return terms;
	}

	public void setTerms(String terms) {
		this.terms = terms;
	}

	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public BigDecimal getBeginAmount() {
		return beginAmount;
	}

	public void setBeginAmount(BigDecimal beginAmount) {
		this.beginAmount = beginAmount;
	}

	public BigDecimal getEndAmount() {
		return endAmount;
	}

	public void setEndAmount(BigDecimal endAmount) {
		this.endAmount = endAmount;
	}

	public Integer getBeginTerm() {
		return beginTerm;
	}

	public void setBeginTerm(Integer beginTerm) {
		this.beginTerm = beginTerm;
	}

	public Integer getEndTerm() {
		return endTerm;
	}

	public void setEndTerm(Integer endTerm) {
		this.endTerm = endTerm;
	}

	public BigDecimal getBeginRebate() {
		return beginRebate;
	}

	public void setBeginRebate(BigDecimal beginRebate) {
		this.beginRebate = beginRebate;
	}

	public BigDecimal getEndRebate() {
		return endRebate;
	}

	public void setEndRebate(BigDecimal endRebate) {
		this.endRebate = endRebate;
	}

	public BigDecimal getRebate() {
		return rebate;
	}

	public void setRebate(BigDecimal rebate) {
		this.rebate = rebate;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getBranch() {
		return branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Integer isdeleted) {
		this.isdeleted = isdeleted;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getTextField1() {
		return textField1;
	}

	public void setTextField1(String textField1) {
		this.textField1 = textField1;
	}

	public String getTextField2() {
		return textField2;
	}

	public void setTextField2(String textField2) {
		this.textField2 = textField2;
	}

	public String getTextField3() {
		return textField3;
	}

	public void setTextField3(String textField3) {
		this.textField3 = textField3;
	}

	public String getTextField4() {
		return textField4;
	}

	public void setTextField4(String textField4) {
		this.textField4 = textField4;
	}

	public String getTextField5() {
		return textField5;
	}

	public void setTextField5(String textField5) {
		this.textField5 = textField5;
	}

}
